<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>日志</title>
<%@ include file="/pages/common/base/Head.jsp"%>
<script type="text/javascript" src="/${res.contextPath}/js/user/addStory.js?v=${res.version}"></script>
<script>
	$(function(){
		AddStory.initPage("${res.contextPath}");	
	});
  </script>
</head>
<body>
<form class="layui-form">
	<div class="layui-form-item">
		<fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
		  <legend>故事添加</legend>
		</fieldset>
		<div class="layui-inline">
			<label class="layui-form-label">日期选择<span style="color:red">*</span></label>
			<div class="layui-input-block">
				<input type="text" name="date" id="date" autocomplete="off" lay-verify="required"
					class="layui-input">
			</div>
		</div>
		<div class="layui-form-item layui-form-text">
			<label class="layui-form-label">事件</label>
			<div class="layui-input-block">
				<textarea placeholder="请输入事件" name="story" class="layui-textarea" style="width:500px;height:150px"></textarea>
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">故事类型<span style="color:red">*</span></label>
			<div class="layui-input-inline">
				<select id="storyType" name="storyType" lay-verify="required">
					<z:options typeId="storyType" isfull="false"></z:options>
				</select>
			</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-input-block">
				<button class="layui-btn" lay-submit="" lay-filter="submit">立即提交</button>
			</div>
		</div>
	</div>
	</form>
</body>
</html>